import { createAction } from 'redux-actions'
import { user } from 'api'
import { createAjaxAction } from 'utils'

export const requestUserList = createAction('request user list')
export const receiveUserList = createAction('receive user list')
export const fetchUserList = createAjaxAction(user.userList, requestUserList, receiveUserList)
